package com.ddwl.schema.bo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.Instant;

/**
 * 类UserDistQueryBo.java的实现描述：查询用户分销信息入参
 *
 * @author zach
 * @Date :2020-09-02 09:02.
 */
@Getter
@Setter
@ApiModel(description = "查询用户分销信息入参")
public class UserDistQueryBo {

    @ApiModelProperty("用户Id")
    private String id;

    @ApiModelProperty("用户类型0 普通用户,1分销员,2区域合伙人")
    private String type;

    @ApiModelProperty(value = "开始时间")
    private Instant startTime;

    @ApiModelProperty(value = "结束时间")
    private Instant endTime;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "手机号码")
    private String mobile;

    @ApiModelProperty(value = "直接上级ID")
    private String immediateSuperior;

    @ApiModelProperty(value = "邀请码")
    private String inviteCode;

    @ApiModelProperty(value = "间接上级ID")
    private String indirectSuperior;

    @ApiModelProperty(value = "来源（0微信，1 分销app,2web注册页）")
    private String source;

    @ApiModelProperty(value = "主用户，查询直接和间接(点击团队查询时用)")
    private String masterUser;
}
